{extend name="index_layout"/}
{block name="main"}
<div class="layui-card">
    <div class="layui-card-header">报名列表</div>
    <div class="layui-card-body">
        <div class="layui-form">
            <table class="layui-hide" id="table" lay-filter="table"></table>
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script type="text/javascript">
layui.use('table', function() {
    var table = layui.table,
        $ = layui.$;
    table.render({
        elem: '#table',
        toolbar: '#toolbarDemo',
        url: '{:url("signUpList")}',
        limit: 2,
        page: true,
        cols: [
            [
                { field: 'id', title: 'ID'},
                { field: 'manager_bank_outlets',title: '网点'},
                { field: 'manager_name', title: '客户经理'},
                { field: 'manager_number', title: '员工号' },
                { field: 'recommend_realname',title: '推荐客户姓名' },
                { field: 'recommend_number', title: '推荐客户客户号' },
                { field: 'create_time', title: '推荐日期' },
                { field: 'realname', title: '被推荐客户姓名' },
                { field: 'customer_number', title: '被推荐客户客户号' },
            ]
        ],
    });
});
</script>
<style>
    .layui-table-cell{
        padding:0;
        text-align:center;
        height: auto;
        white-space: normal;
    }

    .layui-table img{
        max-width:300px;
        max-height:300px
    }
</style>
{/block}